package com.tangyuan.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tangyuan.dto.UserHonouredGuestDto;
import com.tangyuan.model.activity.HonouredGuest;
import com.tangyuan.vo.UserHonouredGuestVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description: honoured_guest
 * @Author: jeecg-boot
 * @Date:   2024-03-20
 * @Version: V1.0
 */
@Mapper
public interface HonouredGuestMapper extends BaseMapper<HonouredGuest> {

    List<UserHonouredGuestVo> getMyHonouredGuest(Long userId);

    List<UserHonouredGuestVo> getMyActive(Long userId);

    void addHonouredGuest(UserHonouredGuestDto userHonouredGuestDto);

    void addActive(UserHonouredGuestDto userHonouredGuestDto);

    void removeHonouredGuest(Integer id);

    UserHonouredGuestVo getMyHonouredGuestById(Integer id);
}
